package com.zhaoliangji.architecture.data.response;

/**
 * @Author: NYC
 * @CreateDate: 2021/3/16 2:38 PM
 * @Description: 网络请求返回状态
 */
public class RespStatus {

    private String responseCode = "";
    private String responseMsg = "";
    private boolean success = true;


    public RespStatus(boolean success) {
        this.success = success;
    }

    public RespStatus(String responseCode, String responseMsg, boolean success) {
        this.responseCode = responseCode;
        this.responseMsg = responseMsg;
        this.success = success;
    }

    public String getResponseCode() {
        return responseCode;
    }

    public String getResponseMsg() {
        return responseMsg;
    }

    public boolean isSuccess() {
        return success;
    }
}
